package com.cloudkinto.common.constant;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2019/7/2
 */
public class GlobalConstants {
    /****时间转换格式*/
    public static final String TIME_FORMAT_STR = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'";


    public static final String JWTKEY = "kintocloud20190909suzhouweibang";
    public static final String AESKEY = "zxmd2013qazwsx12";

    //qoo获取key的url
    public static final String QOO_BASE_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi";
    public static final String QOO_KEY_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi?key={key}&v=1.0&returnType=json&method=CertificationAPI.CreateCertificationKey&user_id={id}&pwd={pwd}";
    //qoo同步订单的url
    public static final String QOO_DOWNLOAD_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi?key={key}&v={v}&returnType={returnType}&method={method}&ShippingStat={ShippingStatus}&search_Sdate={search_Sdate}&search_Edate={search_Edate}";


    //12小时后过期
    public final static int EXPIRE = 60 * 60 * 24 * 7;
    public static final long DEFAULT_TIMEOUT = 60 * 1000;
    public static final String NUMBER_ZERO_STR = "0";
    public static final String NUMBER_ONE_STR = "1";
    public static final String NUMBER_TWO_STR = "2";
    public static final String NUMBER_THREE_STR = "3";
    public static final String NUMBER_FOUR_STR = "4";
    public static final String NUMBER_FIVE_STR = "5";
    public static final Integer NUMBER_ZERO = 0;
    public static final Integer NUMBER_ONE = 1;
    public static final Integer NUMBER_TWO = 2;
    public static final Integer NUMBER_THREE = 3;
    public static final Integer NUMBER_FOUR = 4;
    public static final Integer NUMBER_FIVE = 5;
    public static final String SERVICE_MAIL_ADDRESS = "service@cloudkinto.com";
    public static final int BILL_NOTE_DELAY_DAYS = 0;
    public static final String APP_Serect_WX = "1f7a8759ada6a8e40cc89f89976d3fb4";
    public static final String APP_ID_WX = "wx347352c84adb0cc6";
    public static final int IN_OUT_PUT_FEE = 750;
    public static final String NO_FOUNED_ORDER = "未找到该订单";
    public static final int SHIP_PRICE_COMMON = 2;
    public static final String FBA_NO_OUT = "fba.no.out";

    //文件类型
    public static String IMG_TYPE_PNG = "PNG";
    public static String IMG_TYPE_JPG = "JPG";
    public static String IMG_TYPE_JPEG = "JPEG";
    public static String IMG_TYPE_DMG = "BMP";
    public static String IMG_TYPE_GIF = "GIF";
    public static String IMG_TYPE_SVG = "SVG";
    public static String IMG_TYPE_XLS = "XLS";
    public static String IMG_TYPE_XLSX = "XLSX";
    public static String IMG_TYPE_CSV = "CSV";
    public static String IMG_SUFFIX = "PNG|JPG|JPEG|BMP|GIF|SVG|PDF|png|jpg|jpeg|bmp|gif|svg|pdf";
    public static String FILE_SUFFIX = "PNG|JPG|JPEG|BMP|GIF|SVG|XLS|XLSX|PDF|ZIP|RAR|DOC|DOCX|AVI|MP4|FLV|SWF|png|jpg|jpeg|bmp|gif|svg|xls|xlsx|pdf|zip|rar|doc|docx|avi|mp4|flv|swf";
    public static double TAX_RATE = 1.10;
    public static String[] statusArrs = new String[]{"待入库", "待出库", "待报关", "待起运", "运输中", "清关中", "已上架"};
    /**
     * 7天
     */
    public static int lastUpdateDate = 7;
    public static String sellerId = "A8VHL7E15R0ZM";
    public static String mwsAuthToken = "amzn.mws.e8b16953-94e3-838d-5580-eb57674ab961";
    public static String marketplaceId = "A1VC38T7YXB528";
    public static String mwsHost = "mws.amazonservices.jp";
    public static String accessKey = "AKIAJ4ZLCMZ6DRO6RYGQ";
    public static String secretKey = "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";
    public static String accessKey1014 = "AKIAJ4ZLCMZ6DRO6RYGQ";
    public static String secretKey1014 = "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";
    public static final String amazonAccessKey = "AKIAJ4ZLCMZ6DRO6RYGQ";
    public static final String amazonSecret = "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";
    /**
     * ===========================SP-API参数============================================
     */
    public static String amazonAppId="amzn1.sp.solution.a1a37700-a29b-4084-9108-ba1d7997a5b7";

    public static String accessKeySP = "AKIA6GHPBYP7L7PNPT7G";
    public static String secretKeySP = "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";
    public static String accessSecrityKeySP = "ASIA6GHPBYP7GZTQDWVJ";
    public static String secretSecrityKeySP = "lhjWdGHYDFcajZy/dgwO4Gn2OTnTe/LXmT2OLlGV";

    public static final String AmzSpClientId ="amzn1.application-oa2-client.440a1dade8ba400da37e53fc5e2d00b9";
    public static final String AmzSpClientSecret ="amzn1.oa2-cs.v1.6baa2ce0accaa6e92581a1a364fce331bebf8f73c57fd9469e73d7d981fa7ebb";

    public static String RakutenURL = "https://api.rms.rakuten.co.jp/es/2.0";
    public static String CloudkintoURL = "http:/47.57.12.63:8089/api/admin/";
    public static String AmazonURL = "https://mws.amazonservices.jp";
    public static String AmazonSPAPIURL = "https://sellingpartnerapi-fe.amazon.com";



    /** 体积上下浮动比例 */
    public static final double volumePercentage = 0.01;


    /**fba入仓统计 redis key */
    public static final String FBA_INPUT_KEY = "fbaInputKey";
    /**日本一件代发统计 redis key */
    public static final String JP_SEND_OUT_KEY = "jpSendOutKey";
    /**退货处理统计 redis key */
    public static final String ORDER_BACK_KEY = "orderBackKey";
    /**仓储面积统计 redis key */
    public static final String STORAGE_AREA_KEY = "storageAreaKey";

    /**
     * ===========================供应链微信公众号-仓管家================================
     */
    public static String WX_APPID = "wx347352c84adb0cc6";
    public static String WX_APPSECRET = "1f7a8759ada6a8e40cc89f89976d3fb4";
    public static String WX_TOKEN = "cloudkinto";
    public static String WX_EncodingAESKey = "ZpS0daNQskHPxMdjmLW60WRpSvbF8nWPjAox3rdphR0";

    public static String WX_PRODUCT_OUTPUT_TEMPLATE_ID = "-6frAN7ZbX5nc8krS5FlSuOPHPZ8lc-0hWVL6Uct7I4";     //商品出库提醒
    public static String WX_DEAL_PROGRESS_TEMPLATE_ID = "6T9bcGYGMijpp5JFaY2d3S9uB7rf5inR1ESx9nxRch0";      //问题处理进度提醒
    public static String WX_ORDER1_PROGRESS_TEMPLATE_ID = "7k7ONn9TaTvlf-N5hbibMzSs6GLdKjhEcfwkymVM_fo";     //订单进度提醒1号
    public static String WX_WORK_ORDER_PROGRESS_TEMPLATE_ID = "AqPsVsqgEFX9-HkK2hCTYmPSiSsAt8y61hSKyQ3pXT0";     //工单进度通知
    public static String WX_ACCOUNT_BALANCE_TEMPLATE_ID = "PYM7uBbnwHl7XJPuVZAZnLBkidYufin4mC0V-kl03kA";     //账户余额提醒
    public static String WX_ORDER2_PROGRESS_TEMPLATE_ID = "f2qprCl2zu1F2zHVW1T6goo0sBnzlSpqLnZx_oTLTBM";    //订单进度提醒2号

    public static String WX_PUSH_APPID = "wx7316ea3f18611ab6";
}
